// 补液单详情
export const Infusion = `
query($order_id:Int){
  fill_order_info(order_id:$order_id){
    id
	order_sn
	fill_id
	to_fill_id
	fill_name
	to_fill_name
	fill_status 
	fill_status_text
	amount
	true_amount
	createtime
  }
}`;
// 获取加注机信息
export const fillings = `
query($fill_id:Int){
  test_fill_info(fill_id:$fill_id){
   id
   code
   fill_account
   max
  }
}`;
// 获取受液机列表
export const fillingList = `
query($driver_id:Int){
  fill_list_by_can(driver_id:$driver_id){
   id
   code
  }
}`;
// 授业机订单列表
export const CapitalDetails = `
query($driver_id:Int,$page:Int,$start:String,$end:String,$to_fill_id:Int){
  fill_order_list(driver_id:$driver_id,page:$page,start:$start,end:$end,to_fill_id:$to_fill_id){
  list{
    id
	fill_id
	to_fill_id
	fill_name
	to_fill_name
	amount
	true_amount
	createtime
 }
 total
 lastpage
}
}
`;
// 获取身份
export const identity = `
query($driver_id:Int,$fill_id:String){
  role_list(driver_id:$driver_id,fill_id:$fill_id){
   role
   page
   image
  }
}`;

// 积分订单列表
export const CapitalList = `
query($driver_id:Int,$page:Int,){
  score_order_list(driver_id:$driver_id,page:$page){
  list{
    id
	order_sn
	score
	createtime
	goods{
		id
		name
		image
		dispatch_type
		subtitle
		score
		store_name
		store_id
	}
 }
 total
 lastpage
}
}
`;